<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .text-indent .one {
            text-indent: 2em;
        }

        .text-indent .two {
            text-indent: -2em;
            line-height: 40px;
        }
    </style>
</head>

<body>

    <div class="text-indent">
        <div class="one">正常缩进</div>
        <div class="two">反向缩进</div>
    </div>
</body>

</html>